package com.ycz.cglib.dispatcher;

import com.ycz.cglib.load.PropertyBean;

/**
 * @author ycz
 * @date 2021/7/3
 * @description TODO
 * @Company © 版权所有 深圳市天行云供应链有限公司
 */
public class Test {

    public static void main(String[] args) {
        DispatcherBean dispatcherBean = new DispatcherBean();
        System.out.println(dispatcherBean.getName());
        System.out.println(dispatcherBean.getValue());
        System.out.println("==============");
        PropertyBean propertyBean = dispatcherBean.getPropertyBean();
        // 每次访问都要进行回调
        System.out.println(propertyBean.getPropertyValue());
        System.out.println(propertyBean.getPropertyValue());
        System.out.println(propertyBean.getPropertyValue());
    }
}
